<?php
$this->load->view("backend_header");
?>
<div id="main_content">
<div class="top_margin"></div>

<div class="homepage_mid_column">
<?php
$this->load->view("backend/topbar");
?>
<div class="top_margin"></div>
<form method ="post" action="<?=site_url()?>/backend/operator_main">
选择收书人：<select name="collector_id"><br />
<?php foreach($collectors as $collector){ ?>
     <option value="<?=$collector->id?>" selected="selected"><?=$collector->name?></option>
 <?php }?>
 </select>
<table><tr><td>book_id</td><td>收购折数</td><td>本数</td></tr>
<?php for($i=0;$i<$num_input;$i++) {?>
<tr>
<td><input type="text" name="inbooks[<?=$i?>][]" value=""/></td>  <!--book_id-->
<td><input type="text" name="inbooks[<?=$i?>][]" value="3"/></td> <!--collect_price_percent-->
<td><input type="text" name="inbooks[<?=$i?>][]" value="1"/></td> <!--num-->
</tr>
<?php } ?>
</table>
再添加<input type="text" name="num_input" value="10"/>行<br/>
 <input type="submit" value="提交">
 </form>
</div>


<div class="bottom_margin"></div>
<div class="div-footer"><div class="div-footer-intl-links"></div>
<div class="div-footer-links"></div>
<?=anchor('bookiki/index', '首页');?> - <?=anchor('bookiki/about', '关于书易');?> - <?=anchor('bookiki/about_eng', 'About Bookiki');?> - <?=anchor('bookiki/faq', '使用帮助');?>
&nbsp;-&nbsp;©2009&nbsp;-&nbsp;
<a href="http://www.miibeian.gov.cn/">浙ICP备09067748号</a>
</div>  <!--div-footer-->


</div> <!--main_content-->

</div>  <!--end of body agent-->
</body>
</html>